<!--
*Author：jxx
 *Contact：283591387@qq.com
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *业务请在@/extension/mall/GroupCampphase.js此处编写
 -->
<template>
  <div>
    <view-grid ref="grid" :columns="columns" :detail="detail" :editFormFields="editFormFields"
      :editFormFileds="editFormFields" :editFormOptions="editFormOptions"
      :searchFormFields="searchFormFields" :searchFormFileds="searchFormFields"
      :searchFormOptions="searchFormOptions" :table="table" :extend="extend">
    </view-grid>
  </div>
</template>

<script>
import extend from "@/extension/mall/GroupCampphase.js";
import ViewGrid from "@/components/basic/viewT.vue";
var vueParam = {
  components: {
    ViewGrid,
  },
  data() {
    return {
      table: {
        key: "phase_id_fk",
        footer: "Foots",
        cnName: "分团分组",
        name: "GroupCampphase",
        url: "/V_campphase/",
        sortName: "createDate",
      },
      extend: extend,
      editFormFields: {},
      editFormOptions: [],
      searchFormFields: { phase_name: "" },
      searchFormOptions: [
        [{ title: "营期名称", field: "phase_name", type: "text" }],
      ],
      columns: [
        {
          field: "campsite_name",
          title: "营地名称",
          type: "int",
          width: 90,
          align: "left",
        },
        {
          field: "phase_name",
          title: "营期名称",
          type: "string",
          width: 120,
          require: true,
          align: "left",
        },
        {
          field: "teamnum",
          title: "团队数量",
          type: "int",
          width: 120,
          align: "left",
        },
        {
          field: "groupnum",
          title: "小组数量",
          type: "int",
          width: 120,
          align: "left",
        },
      ],
      detail: {
        cnName: "#detailCnName",
        columns: [],
        sortName: "",
        key: "",
      },
    };
  },
};
export default vueParam;
</script>
